package com.ruoyi.dataMain.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 开户总表业务对象 data_account
 *
 * @author linziheng
 * @date 2023-10-28
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class DataAccountBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 合作媒体
     */
    @NotBlank(message = "合作媒体不能为空", groups = { AddGroup.class, EditGroup.class })
    private String medium;

    /**
     * 账户id
     */
    @NotBlank(message = "账户id不能为空", groups = { AddGroup.class, EditGroup.class })
    private String accountId;

    /**
     * 帐户名称
     */
    @NotBlank(message = "帐户名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String accountName;

    /**
     * 主体名称
     */
    private String mainName;

    /**
     * 开户时间
     */
    private Date createAccountTime;

    /**
     * 开户行类别
     */
    private String accountType;

    /**
     * 供应商id
     */
    private Long supplierId;

    /**
     * 供应商
     */
    private String supplier;

    /**
     * 客户id
     */
    private Long customId;

    /**
     * 客户名称
     */
    private String customName;

    /**
     * 转户日期
     */
    private Date transferTime;

    /**
     * 备注
     */
    private String remark;


}
